import lombok.Getter;
import wei.yigulu.modbus.domain.datatype.ModbusDataTypeEnum;

public abstract class BasePointData {

    protected ProtocolDataContainer protocolDataContainer=ProtocolDataContainer.getInstance();

    /**
     * 点位地址
     */
    @Getter
    private Integer point;


    @Getter
    private ModbusDataTypeEnum dataType;

    @Getter
    private String value;


    public BasePointData(Integer point,ModbusDataTypeEnum dataType,String value){
        this.point=point;
        this.dataType=dataType;
        this.value=value;
    }


    public abstract  void joinRealTimeData();

}
